package com.niit.schoolhub.system.controller;


import com.niit.schoolhub.system.mapper.YesapiBjyOauthUserMapper;
import com.niit.schoolhub.system.pojo.YesapiBjyOauthUser;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 博客-评论表 前端控制器
 * </p>
 *
 * @author kaguya
 * @since 2021-11-27
 */
@Controller
@RequestMapping("/system/yesapiBjyComment")
public class YesapiBjyCommentController {
private YesapiBjyOauthUserMapper yesapiBjyOauthUserMapper;
    @PostMapping("/registeruser")
    public int registeruser(@RequestBody YesapiBjyOauthUser yesapiBjyOauthUser){
        int i = yesapiBjyOauthUserMapper.insert(yesapiBjyOauthUser);
        return i;
    }
}

